package com.example.word.enums;

/**
 * @author yuwen
 * @date 2023/4/28
 */
public enum AlignEnum {
    LEFT("左对齐", 0),
    CENTER("居中", 1),
    RIGHT("右对齐", 2),
    JUSTIFY("两端对齐",3);

    private String name;
    private int value;

    AlignEnum(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() { return name; }
    public int getValue() { return value; }
}